import { ProLayoutProps } from '@ant-design/pro-components';
import React from 'react';
console.log('😈React', React);
/**
 * @name
 */
const Settings: ProLayoutProps & {
  pwa?: boolean;
  logo?: string;
} = {
  navTheme: 'light',
  // 拂晓蓝
  colorPrimary: '#1890ff',
  layout: 'mix',
  contentWidth: 'Fluid',
  fixedHeader: false,
  fixSiderbar: true,
  colorWeak: false,
  title: '智能监所实战平台',
  pwa: true,
  // @ts-ignore
  logo: (
    <svg
      t="1711181357031"
      class="icon"
      viewBox="0 0 1024 1024"
      version="1.1"
      xmlns="http://www.w3.org/2000/svg"
      p-id="4695"
      data-spm-anchor-id="a313x.search_index.0.i1.48a43a81m7evaN"
      width="32"
      height="32"
    >
      <path
        d="M984.615385 219.372308V0h-218.112v146.116923h-145.447385V0H402.904615v146.116923H257.496615V0H39.384615v219.372308h72.704v731.372307H39.384615V1024h945.23077v-73.255385h-72.704V219.372308H984.615385z m-145.408-146.116923h72.704v72.861538h-72.704V73.255385z m-363.559385 0h72.704v72.861538h-72.704V73.255385z m-363.52 0h72.704v72.861538H112.128V73.255385z m290.816 877.48923v-365.48923h218.112v365.48923H402.904615z m436.263385 0h-145.447385V512h-363.52v438.744615H184.832V219.372308h654.375385v731.372307zM257.536 292.627692h72.704v73.255385H257.536V292.627692z m218.112 0h72.704v73.255385h-72.704V292.627692z m218.112 0h72.743385v73.255385h-72.743385V292.627692z"
        fill="#333333"
        p-id="4696"
      ></path>
    </svg>
  ),
  iconfontUrl: '',
  token: {
    // 参见ts声明，demo 见文档，通过token 修改样式
    //https://procomponents.ant.design/components/layout#%E9%80%9A%E8%BF%87-token-%E4%BF%AE%E6%94%B9%E6%A0%B7%E5%BC%8F
  },
};

export const Settings2: ProLayoutProps & {
  pwa?: boolean;
  logo?: string;
} = {
  navTheme: 'realDark',
  colorPrimary: '#1890ff',
  layout: 'top',
  contentWidth: 'Fixed',
  fixedHeader: false,
  fixSiderbar: true,
  pwa: true,
  // logo: {
  //   type: 'svg',
  //   key: null,
  //   ref: null,
  //   props: {
  //     t: '1711181357031',
  //     class: 'icon',
  //     viewBox: '0 0 1024 1024',
  //     version: '1.1',
  //     xmlns: 'http://www.w3.org/2000/svg',
  //     'p-id': '4695',
  //     'data-spm-anchor-id': 'a313x.search_index.0.i1.48a43a81m7evaN',
  //     width: '32',
  //     height: '32',
  //     children: {
  //       type: 'path',
  //       key: null,
  //       ref: null,
  //       props: {
  //         d: 'M984.615385 219.372308V0h-218.112v146.116923h-145.447385V0H402.904615v146.116923H257.496615V0H39.384615v219.372308h72.704v731.372307H39.384615V1024h945.23077v-73.255385h-72.704V219.372308H984.615385z m-145.408-146.116923h72.704v72.861538h-72.704V73.255385z m-363.559385 0h72.704v72.861538h-72.704V73.255385z m-363.52 0h72.704v72.861538H112.128V73.255385z m290.816 877.48923v-365.48923h218.112v365.48923H402.904615z m436.263385 0h-145.447385V512h-363.52v438.744615H184.832V219.372308h654.375385v731.372307zM257.536 292.627692h72.704v73.255385H257.536V292.627692z m218.112 0h72.704v73.255385h-72.704V292.627692z m218.112 0h72.743385v73.255385h-72.743385V292.627692z',
  //         fill: '#333333',
  //         'p-id': '4696',
  //       },
  //       _owner: null,
  //       _store: {},
  //     },
  //   },
  //   _owner: null,
  //   _store: {},
  // },
  token: {},
  splitMenus: false,
  menuHeaderRender: false,
};

export default Settings;
